static gboolean
gtk_selection_model_default_select_item (GtkSelectionModel *model,
guint position,
- gboolean exclusive)
+ gboolean unselect_rest)
{
return FALSE;
}
gtk_selection_model_default_select_range (GtkSelectionModel *model,
guint position,
guint n_items,
- gboolean exclusive)
+ gboolean unselect_rest)
{
return FALSE;
}
* gtk_selection_model_select_item:
* @model: a #GtkSelectionModel
* @position: the position of the item to select
- * @exclusive: whether previously selected items should be unselected
+ * @unselect_rest: whether previously selected items should be unselected
*
* Requests to select an item in the model.
*/
gboolean
gtk_selection_model_select_item (GtkSelectionModel *model,
guint position,
- gboolean exclusive)
+ gboolean unselect_rest)
{
GtkSelectionModelInterface *iface;
g_return_val_if_fail (GTK_IS_SELECTION_MODEL (model), 0);
iface = GTK_SELECTION_MODEL_GET_IFACE (model);
- return iface->select_item (model, position, exclusive);
+ return iface->select_item (model, position, unselect_rest);
}
/**
* @model: a #GtkSelectionModel
* @position: the first item to select
* @n_items: the number of items to select
- * @exclusive: whether previously selected items should be unselected
+ * @unselect_rest: whether previously selected items should be unselected
*
* Requests to select a range of items in the model.
*/
gtk_selection_model_select_range (GtkSelectionModel *model,
guint position,
guint n_items,
- gboolean exclusive)
+ gboolean unselect_rest)
{
GtkSelectionModelInterface *iface;
g_return_val_if_fail (GTK_IS_SELECTION_MODEL (model), 0);
iface = GTK_SELECTION_MODEL_GET_IFACE (model);
- return iface->select_range (model, position, n_items, exclusive);
+ return iface->select_range (model, position, n_items, unselect_rest);
}
/**
gboolean (* select_item) (GtkSelectionModel *model,
guint position,
- gboolean exclusive);
+ gboolean unselect_rest);
gboolean (* unselect_item) (GtkSelectionModel *model,
guint position);
gboolean (* select_range) (GtkSelectionModel *model,
guint position,
guint n_items,
- gboolean exclusive);
+ gboolean unselect_rest);
gboolean (* unselect_range) (GtkSelectionModel *model,
guint position,
guint n_items);
GDK_AVAILABLE_IN_ALL
gboolean gtk_selection_model_select_item (GtkSelectionModel *model,
guint position,
- gboolean exclusive);
+ gboolean unselect_rest);
GDK_AVAILABLE_IN_ALL
gboolean gtk_selection_model_unselect_item (GtkSelectionModel *model,
guint position);
gboolean gtk_selection_model_select_range (GtkSelectionModel *model,
guint position,
guint n_items,
- gboolean exclusive);
+ gboolean unselect_rest);
GDK_AVAILABLE_IN_ALL
gboolean gtk_selection_model_unselect_range (GtkSelectionModel *model,
guint position,